home *** CD-ROM | disk | FTP | other *** search
- property ancestor, pButtonName
-
- on new me, buttonName, castName, theChannel, theStageLoc, descendant
- if objectp(descendant) then
- ancestor = new(script("locking button"), buttonName, castName, theChannel, theStageLoc, descendant)
- else
- ancestor = new(script("locking button"), buttonName, castName, theChannel, theStageLoc, me)
- end if
- pButtonName = buttonName
- return me
- end
-
- on performFunction me
- global CreditList, firstCredit
- if not firstCredit then
- repeat with X = 5 to 7
- if not (X = the rollOver) then
- creditObj = getaProp(CreditList, X)
- simulateClickOff(creditObj)
- end if
- end repeat
- end if
- set the puppet of sprite 8 to 1
- set the member of sprite 8 to member(pButtonName && "Credits")
- updateStage()
- end
-